//
//  SingleManager.h
//  HeWeiZhiNeng
//
//  Created by 林建 on 17/12/4.
//  Copyright © 2017年 YanCeyMichael.github.io. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "UserModel.h"
@interface SingleManager : NSObject
@property (nonatomic, assign)BOOL NetworkStatus;
@property (nonatomic, strong)UserModel *user;

+(SingleManager *)shareManager;

- (void)saveUser:(UserModel *)user;

- (void)logout;

-(void)creatPushView:(NSInteger)code VC:(UIViewController *)VC msg:(NSString *)msg;

-(CGFloat)getTextWidth:(NSString *)text withHeight:(CGFloat)height font:(UIFont *)font;

-(NSString *)md5:(NSString *)input;

@end
